﻿//
// Created by Freeman on 2022/2/9.
//

#ifndef PAT_EXERCISES_EXCEPTIONS_H
#define PAT_EXERCISES_EXCEPTIONS_H

#include <string>

class IllegalArgumentException : public std::exception {
    std::string msg;

public:
    IllegalArgumentException(std::string msg) : msg(std::move(msg)) {}

    IllegalArgumentException() {}
};


#endif //PAT_EXERCISES_EXCEPTIONS_H
